import {NgModule} from '@angular/core';
import {RouterModule, Routes} from '@angular/router';
import {ImportComponent} from './import/import.component';
import {SettingsComponent} from './settings/settings.component';

const routes: Routes = [
  {path: '', redirectTo: '/app-settings', pathMatch: 'full'},
  {path: 'import', component: ImportComponent},
  {path: 'settings', component: SettingsComponent},
];

@NgModule({
  imports: [RouterModule.forRoot(routes)],
  exports: [RouterModule]
})
export class AppRoutingModule {

}
